import { ConfigProvider, App as AntdApp } from "antd"
import AppRouter from "./router"
import zhcN from 'antd/locale/zh_CN';
function App() {
  return (
    <>
      <ConfigProvider locale={zhcN}
        theme={{
          token: {
            colorPrimary: '#2561EF',
            borderRadius: 4
          },
          components: {
            Menu: {
              itemSelectedBg: '#2561EF',
              itemSelectedColor: '#fff'
            }
          }
        }}
      >
        <AntdApp>
          <AppRouter />
        </AntdApp>

      </ConfigProvider>

    </>
  )
}

export default App
